<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html style="height:100%;width:100%;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Log in</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/js/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/js/themes/icon.css">
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.6.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.easyui.min.js"></script>
<script>
	function showcontent(language){  
	    $('#content').html('Introduction to ' + language + ' language');  
	}  
	function submitForm(){
		$('#loginForm').submit();
	}
</script>

</head>
<body>
	<div id="win" class="easyui-window" title="ABD客户管理系统"
		style="width: 300px; height: 180px;">
		<form name="loginForm" id="loginForm" style="padding: 10px 20px 10px 40px;" 
		action="<%=request.getContextPath() %>/LoginAction/doLogin.do" method="post">
			<table>
				<tr>
					<td align="right">用户名:</td>
					<td>
						<input name="userName" id="userName" type="text" style="width:150px">
					</td>
				</tr>
				<tr>
					<td align="right">密码:</td>
					<td>
				 		<input name="password" id="password" type="password" style="width:150px">
					</td>
				</tr>
			</table>
			<div style="padding: 5px; text-align: center;">
				<a href="#" class="dialog-button" icon="icon-ok" onclick="submitForm();">登陆</a> 
			</div>
		</form>
	</div>
</body>
</html>